package com.xiaoshuidi.cloud.module.member.service.mobilemodifyrecord;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.member.controller.admin.mobilemodifyrecord.vo.MemberMobileModifyRecordPageReqVO;
import com.xiaoshuidi.cloud.module.member.controller.admin.mobilemodifyrecord.vo.MemberMobileModifyRecordPageRespVO;
import com.xiaoshuidi.cloud.module.member.api.mobilemodifyrecord.vo.MobileModifyRecordCreateReqVO;
import com.xiaoshuidi.cloud.module.member.pojo.mobilemodifyrecord.MemberMobileModifyRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 手机号修改记录 服务类
 * </p>
 *
 * @author hans.zhang
 * @since 2023-12-08
 */
public interface MemberMobileModifyRecordService extends IService<MemberMobileModifyRecord> {

    /**
     * 创建修改手机号记录
     * @param mobileModifyRecordCreateReqVO
     */
    CommonResult<Boolean> createRecord(MobileModifyRecordCreateReqVO mobileModifyRecordCreateReqVO);

    /**
     * 分页
     * @param reqVO
     * @return
     */
    PageResult<MemberMobileModifyRecordPageRespVO> getPage(MemberMobileModifyRecordPageReqVO reqVO);

    /**
     * 导出查询
     * @param reqVO
     * @return
     */
    List<MemberMobileModifyRecordPageRespVO> exportList(MemberMobileModifyRecordPageReqVO reqVO);
}
